
  <div class ="row">
    <div class="col-md-2">
    <ul class="nav nav-sidebar">
      <div class="image">
        <img src="<?php echo base_url("public/images/sidebar_logo.jpg");?>" alt="logo_image" width="150px" height="150px" class="img-circle">
        <h3>Trung taâm</h3>
      </div>
      <li><a href="#">Templet 1</a></li>
      <li><a href="#">Templet 2</a></li>
      <li><a href="#">Templet 3</a></li>
      <li><a href="#">Templet 4</a></li>
      <li><a href="#">Templet 5</a></li>
      <li><a href="#">Templet 6</a></li>
      <li><a href="#">Templet 7</a></li>
      <li><a href="#">Templet 8</a></li>
      <li><a href="#">Templet 9</a></li>
      <li><a href="#">Templet 10</a></li>
    </ul>
    </div>
    <div class="col-md-10 col-xs-height"> 
        <div class="breadcrumbs" style="margin-top: 3%; margin-bottom: 1%;">
          <ul>
              <li><a href="<?php echo base_url("index.php/website/home");?>"><span class="glyphicon glyphicon-home"></span> Trang chủ</a></li>
              <li><a href="<?php echo current_url();?>"><span class="glyphicon glyphicon-file"></span> Hoạt động</a></li>
          </ul>
        </div>
      <div class="highlight" >
          <h3 class="panel-title" style="width: 200px">ADD ACTIVITY   </h3>
    </div>
    <div class="row">
        <?php
//        $attributes = array('class' => 'form-horizontal', 'role' => 'form',);
        echo form_open("website/hoatdong");
        ?>
        <div class="form-group row">
            <label class="col-sm-3 control-label" style="margin-left:150px;margin-top: 50px">Name</label>
            <div class="col-sm-9"style="width: 600px;float: left;margin-left: -150px;margin-top: 50px">
                <input type="text" class="form-control"  placeholder="Name" name="name" />
            </div>   
        </div>   
        <span style="color:red;"><?php echo form_error('name'); ?></span>

        <div class="form-group row">
            <label class="col-sm-3 control-label" style="margin-left:150px;">discription</label>
            <div class="col-sm-9"style="width: 600px;float: left;margin-left: -150px;">
                <input type="text" class="form-control"  placeholder="discription" name="discription" />
            </div>
        </div>      
        <span style="color:red;"><?php echo form_error('discription'); ?></span>

        <div class="form-group row">
            <label class="col-sm-3 control-label"style="margin-left:150px;">startday</label>
            <div class="col-sm-9"style="width: 600px;float: left;margin-left: -150px;">
                <input type="datetime" class="form-control" placeholder="startday" name="startday" />
            </div>
        </div>
        <span style="color:red;"><?php echo form_error('startday'); ?></span>

        <div class="form-group row">
            <label class="col-sm-3 control-label"style="margin-left:150px;">endday</label>
            <div class="col-sm-9"style="width: 600px;float: left;margin-left: -150px;">
                <input type="datetimes" class="form-control"  placeholder="endday" name="endday"/>
            </div>
        </div>
        <span style="color:red;"><?php echo form_error('endday'); ?></span>

        <div class="form-group row">
            <label class="col-sm-3 control-label"style="margin-left:150px;">id_center</label>
            <div class="col-sm-9"style="width: 600px;float: left;margin-left: -150px;">
                <input type="int" class="form-control"  placeholder="id_center" name="id_center"/>
            </div>
        </div>
        <span style="color:red;"><?php echo form_error('id_center'); ?></span>

        <div class="form-group row"style="margin-left:150px;">
            <div class="col-sm-offset-2 col-sm-1">
                <button type="submit"  name="phanhoi" class="btn btn-primary" value="Gui">ADD ACTIVITY</button>
            </div>
            <div class="col-sm-offset-2 col-sm-1">
                <input type="reset" class="btn btn-default" value="Làm lại" />
            </div>
        </div>
        <?php echo form_close(); ?>
    </div>
        
</div>
 
